'''
私有化
'''


class Person:
    num = 61
    __num2 = 100

    def __init__(self, name, age=18):
        self.name = name
        self.age = age

    def __func1(self):
        print('%s今年%d岁' % (self.name, self.age))

    @staticmethod
    def fucn2():
        print('我是静态方法1')


print(Person.num)
p1 = Person('小明')
print(p1.name)
p1._Person__func1()
Person.fucn2()
# print(Person.num2)
